﻿using Common.Communal;
using MediatR;

namespace Sell.Api.Write.Application.Command.ContractCommand
{
    public class ContractAddCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 合同名称
        /// </summary>
        public string ContractName { get; set; }
        /// <summary>
        /// 合同编号
        /// </summary>
        public string ContractCode { get; set; }
        /// <summary>
        /// 签订日期
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public int SupplierId { get; set; }
        /// <summary>
        /// 合同金额
        /// </summary>
        public decimal ContractPrice { get; set; }
        /// <summary>
        /// 到货日期
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 是否审核
        /// </summary>
        public int Review { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Desc { get; set; }
        /// <summary>
        /// 附件
        /// </summary>
        public string Accessory { get; set; }
        /// <summary>
        /// 物料
        /// </summary>
        public int MaterialId { get; set; }
        /// <summary>
        /// 物料数量
        /// </summary>
        public int MaterialCount { get; set; }
    }
}
